﻿var NodeId = UrlParm.parm('nodeid');
function doing(action, parm) {
    switch (action) {
        case 'extrapublish_add':
            window.location = "NodeAddionalPub_save.aspx?nodeid=" + NodeId;
            break;
        case 'refresh_all':
            window.location.href = '../publish/admin_publish.aspx?ac=refreshExtraAll&nodeid=' + NodeId;
            break;
        case 'view':
            window.open('../admin_extrapublish.aspx?ac=view&PublishID=' + parm + '&nodeid=' + NodeId);
            break;
    }
}
function refresh(PublishID) {
    window.location.href = '../publish/admin_publish.aspx?ac=refreshExtra&NodeAddionalPubId=' + PublishID + '&nodeid=' + NodeId + '&refer='+window.location.href;

}
        